package com.lzpu.thymeleafproject.demos.dao;

import com.lzpu.thymeleafproject.demos.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserDao {
    @Select("SELECT * FROM user")
    public List<User> getAll();
}
